package com.qf.common.core.entity.order;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
* 
* @TableName order_producter
*/
@Data
@TableName(value = "order_producter")
public class OrderProducter implements Serializable {

    /**
    * 订单商品表id
    */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("订单商品表id")
    private Integer orderProducterId;
    /**
    * 订单id
    */
    @ApiModelProperty("订单id")
    private Integer orderId;
    /**
    * 商品id
    */
    @ApiModelProperty("商品id")
    private Integer producterId;
    /**
    * 购买数量
    */
    @ApiModelProperty("购买数量")
    private Integer payNum;



}
